//
//  SEGActivityDetailCommentCell.h
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/8/7.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SEGActivityDetailCommentModel.h"
#import "SEGActivityDetailCommentDetailModel.h"
#import "SEGActivityDetailCommentAnswModel.h"

/**
 评论Cell代理
 */
@protocol SEGActivityDetailCommentCellDelegate <NSObject>

- (void)cellCommentButtonActionWithIndexPath:(NSIndexPath *)indexPath;
- (void)cellPraiseButtonActionWithIndexPath:(NSIndexPath *)indexPath;
- (void)cellImageTapWithImageUrlArray:(NSArray *)arr SelectedImageView:(UIImageView*)image SelectedIndex:(NSInteger)index;

@end


static NSString* kActivityDetailCommentCellIdentifier = @"ActivityDetailCommentCellIdentifier";

@interface SEGActivityDetailCommentCell : UITableViewCell

@property(nonatomic, weak) id<SEGActivityDetailCommentCellDelegate> delegate;

- (void)setUpCellWithCommentModel:(SEGActivityDetailCommentModel *)model indexPath:(NSIndexPath*)indexPath;

//邻居说详情页 邻居说详情
- (void)setUpCellWithCommentDetailModel:(SEGActivityDetailCommentDetailModel *)model indexPath:(NSIndexPath*)indexPath;

//邻居说详情页 评论的回复
- (void)setUpCellWithCommentAnswerModel:(SEGActivityDetailCommentAnswModel *)model indexPath:(NSIndexPath*)indexPath;
@end
